﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataImporter.Models
{
    /// <summary>
    /// 新型冠状肺炎
    /// </summary>
    public class NCDP_XXGZFY
    {
        /// <summary>
        /// ID
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int NPXX_ID { set; get; }

        [SugarColumn(ColumnDataType = "nvarchar(200)")]
        public string NPXX_Name { set; get; }

        /// <summary>
        /// 是否必选
        /// </summary>
        public bool NPXX_IsRequired { set; get; }

        /// <summary>
        /// 分类
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string NPXX_Category { set; get; }

        /// <summary>
        /// 分数
        /// </summary>
        public int NPXX_Score { set; get; }

        /// <summary>
        /// 题目类型：0:答案,1:单选,2:多选,3:隐藏条件,4:指导语
        /// </summary>
        public int NPXX_Type { set; get; }

        /// <summary>
        /// 编码，0:年龄,1:个人病史,2:生活习惯,3:所在地区,4:疫情期间可能感染,5:疫情期间疑似症状
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public int NPXX_Code { set; get; }

        /// <summary>
        /// 推荐
        /// </summary>
        [SugarColumn(Length = 50, IsNullable = true)]
        public string NPXX_Recommend { set; get; }

        /// <summary>
        /// 父ID
        /// </summary>
        public int NPXX_ParentID { set; get; }

        /// <summary>
        /// 显示顺序
        /// </summary>
        public int NPXX_Order { set; get; }
    }
}
